/* ****************************************************************************
 *
 * Copyright (c) Microsoft Corporation. 
 *
 * This source code is subject to terms and conditions of the Microsoft Public License. A 
 * copy of the license can be found in the License.html file at the root of this distribution. If 
 * you cannot locate the  Microsoft Public License, please send an email to 
 * dlr@microsoft.com. By using this source code in any fashion, you are agreeing to be bound 
 * by the terms of the Microsoft Public License.
 *
 * You must not remove this notice, or any other, from this software.
 *
 * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
 * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
 * PARTICULAR PURPOSE.
 * ***************************************************************************/




#if !defined(AFX_PGLLINEPROPPAGE_H__CF898C3E_8166_11D4_8267_00A024D26A1F__INCLUDED_)
#define AFX_PGLLINEPROPPAGE_H__CF898C3E_8166_11D4_8267_00A024D26A1F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// LineGLPropPage.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CPGLLinePropPage dialog
#include <pgl/core/PGLLine.h>

/*! \brief Line property page.

\ingroup PGLPropPageGroup
*/
class CPGLLinePropPage : public CPropertyPage
{
DECLARE_DYNCREATE(CPGLLinePropPage)

// Construction
public:
	CPGLLinePropPage(CPGLLineStPtr _pLine=CPGLLineStPtr());
	~CPGLLinePropPage();

	void SetLineGL(CPGLLineStPtr _pLine)
	{	PGL_ASSERT_VALID(_pLine); m_pLine=_pLine;};


// Dialog Data
	//{{AFX_DATA(CPGLLinePropPage)
	enum { IDD = IDD_PGL_PROPPAGE_LINE };
	float	m_lineWidth;
	float	m_pointWidth;
	int		m_pointType;
	int		m_iInterpolationType;
	BOOL	m_bFilled;
	BOOL	m_bOpen;
	BOOL	m_bContour;
	BOOL	m_bSnapBottom;
	int		m_lineType;
	CString	m_sCustomDashPattern;
	BOOL	m_bShadow;
	UINT	m_iStripSize;
	double	m_dTension;
	//}}AFX_DATA


// Overrides
	// ClassWizard generate virtual function overrides
	//{{AFX_VIRTUAL(CPGLLinePropPage)
	public:
	virtual BOOL OnKillActive();
	virtual BOOL OnSetActive();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	CPGLLineStPtr m_pLine;
	// Generated message map functions
	//{{AFX_MSG(CPGLLinePropPage)
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PGLLINEPROPPAGE_H__CF898C3E_8166_11D4_8267_00A024D26A1F__INCLUDED_)
